package com.github.im.module.sig.Impl;

import com.github.im.utils.TLSSigAPIv2;
import com.github.im.module.sig.TlsSigStrategy;

public class TlsSigStrategyImpl implements TlsSigStrategy {
    @Override
    public String genSig(long sdkAppId, String privateKey, long expire, String identifier) {
        TLSSigAPIv2 tlsSigAPIv2 = new TLSSigAPIv2(sdkAppId, privateKey);
        return tlsSigAPIv2.genSig(identifier, expire);
    }
}
